Skip to content

Commit

Permalink
Simplify shared library support
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisThrasher committed Feb 19, 2024
1 parent 7358e99 commit b4cae51
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ target_include_directories(argon PUBLIC
target_compile_features(argon PUBLIC cxx_std_17)
set_target_properties(argon PROPERTIES VERSION ${PROJECT_VERSION} CXX_VISIBILITY_PRESET hidden VISIBILITY_INLINES_HIDDEN YES)
generate_export_header(argon EXPORT_FILE_NAME include/argon/Export.hpp)
if(NOT BUILD_SHARED_LIBS)
target_compile_definitions(argon PUBLIC ARGON_STATIC_DEFINE)
endif()

# Install library
include(CMakePackageConfigHelpers)
Expand Down

0 comments on commit b4cae51

Please sign in to comment.