Skip to content

Commit

Permalink
Merge pull request #116 from JessyDL/fix/core-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
JessyDL committed Feb 26, 2023
2 parents 1e0e707 + 5e294dc commit 2d7a9e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ target_include_directories(core
${WSI_INC}
)

target_link_libraries(core PUBLIC gli)
target_link_libraries(core PRIVATE gli)

if(WSI_LIB OR NOT WSI_LIB STREQUAL "")
target_link_libraries(core PUBLIC ${WSI_LIB})
Expand All @@ -144,7 +144,7 @@ set_target_properties(core PROPERTIES LINKER_LANGUAGE CXX)
target_compile_features(core PUBLIC ${PE_COMPILER_FEATURES})
target_compile_options(core PUBLIC ${PE_COMPILE_OPTIONS} ${PE_COMPILE_OPTIONS_EXE})
if(MSVC)
target_compile_options(core PUBLIC /experimental:external /external:I${gli_SOURCE_DIR} /external:W3)
target_compile_options(core PRIVATE /experimental:external /external:I${gli_SOURCE_DIR} /external:W3)
endif()

if(PE_MAKE_EXE)
Expand Down

0 comments on commit 2d7a9e0

Please sign in to comment.