Skip to content

Commit

Permalink
Change taget compile to private
Browse files Browse the repository at this point in the history
  • Loading branch information
galanCA committed Dec 7, 2021
1 parent f38d046 commit 5c8bde9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ else()
add_library(${PROJECT_NAME} SHARED ${library_sources})
endif()

target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_17)
target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_17)
include(GenerateExportHeader)
generate_export_header(${PROJECT_NAME})

Expand Down

0 comments on commit 5c8bde9

Please sign in to comment.