Skip to content

Commit

Permalink
CMake tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
romainthomas committed Jan 21, 2024
1 parent 90a25ed commit bb2bd6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ add_subdirectory(src)

if(NOT LIEF_PY_LIEF_EXT)
add_library(LIEF::LIEF ALIAS LIB_LIEF)
set_target_properties(LIB_LIEF PROPERTIES EXCLUDE_FROM_ALL ON)
endif()

if(NOT LIEF_OPT_MBEDTLS_EXTERNAL)
Expand Down Expand Up @@ -290,6 +291,7 @@ set_target_properties(LIB_LIEF
PROPERTIES POSITION_INDEPENDENT_CODE ON
CXX_STANDARD 17
CXX_STANDARD_REQUIRED ON
VISIBILITY_INLINES_HIDDEN ON
CXX_VISIBILITY_PRESET hidden
C_VISIBILITY_PRESET hidden)

Expand Down

0 comments on commit bb2bd6c

Please sign in to comment.