Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CMakeLists.txt: change "re2" to re2::re2 #889

Closed
wants to merge 4 commits into from
Closed

Conversation

snnn
Copy link
Member

@snnn snnn commented Feb 10, 2025

This change is similar to #872 . Somehow last time I missed it.

@snnn snnn requested a review from a team as a code owner February 10, 2025 19:17
@@ -331,7 +331,7 @@ if(OCOS_ENABLE_RE2_REGEX)
endif()

if(CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
set_property(TARGET re2 PROPERTY COMPILE_OPTIONS)
set_property(TARGET re2::re2 PROPERTY COMPILE_OPTIONS)
Copy link
Member

@wenbingl wenbingl Mar 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error message is following, did you get it work for any lib in onnxruntime project?
CMake Error at CMakeLists.txt:334 (set_property):
set_property can not be used on an ALIAS target.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it works there. This is strange.

@snnn snnn closed this Mar 1, 2025
@snnn
Copy link
Member Author

snnn commented Mar 1, 2025

Will work on it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants