File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,6 @@ add_library(${PROJECT_NAME} INTERFACE)
15
15
# via find_package + target_link_libraries straightforward.
16
16
add_library (${PROJECT_NAME} ::${PROJECT_NAME} ALIAS ${PROJECT_NAME} )
17
17
18
- # Specify the C++ flags using target_compile_options and generator expressions for better control and compatibility
19
- target_compile_options (${PROJECT_NAME} INTERFACE
20
- $< $< CXX_COMPILER_ID:GNU> :
21
- -Wall -Wextra -Wdouble-promotion -Wconversion -O3>
22
- $< $< CXX_COMPILER_ID:Clang> :
23
- -Wall -Wextra -Wconversion -O3>
24
- $< $< CXX_COMPILER_ID:MSVC> :
25
- /W4 /O2>
26
- )
27
-
28
18
# Include directories for the interface target
29
19
target_include_directories (${PROJECT_NAME} INTERFACE
30
20
$< BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /include>
You can’t perform that action at this time.
0 commit comments