We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37db681 + 09c47f2 commit db1e305Copy full SHA for db1e305
CMakeLists.txt
@@ -50,8 +50,8 @@ if(ICC_BUILD_SHARED)
50
target_compile_definitions(${PROJECT_NAME} PUBLIC ICC_SHARED_LIBRARY)
51
set(ICC_LIBRARY_NAME ${PROJECT_NAME})
52
else()
53
- add_library(${PROJECT_NAME} STATIC ${ICC_SOURCE_FILES})
54
- set(ICC_LIBRARY_NAME ${PROJECT_NAME})
+ add_library(${PROJECT_NAME}_static STATIC ${ICC_SOURCE_FILES})
+ set(ICC_LIBRARY_NAME ${PROJECT_NAME}_static)
55
endif()
56
target_compile_definitions(${ICC_LIBRARY_NAME} PRIVATE -DICC_LIBRARY)
57
target_include_directories(${ICC_LIBRARY_NAME}
0 commit comments