Skip to content

Commit

Permalink
partial apply conda single-patch: add_simple_external_library links p…
Browse files Browse the repository at this point in the history
…rivately
  • Loading branch information
pthom committed Dec 8, 2024
1 parent 72c2ec5 commit 1bc452b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgui_bundle_cmake/internal/add_simple_library.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set(IMGUIBUNDLE_EXTERNAL_PATH ${IMGUI_BUNDLE_PATH}/external CACHE STRING "" FORC
####################################################
function(add_simple_external_library lib_target_name lib_folder)
add_library(${lib_target_name} STATIC)
target_link_libraries(${lib_target_name} PUBLIC imgui)
target_link_libraries(${lib_target_name} PRIVATE imgui)

set(lib_parent_folder ${IMGUIBUNDLE_EXTERNAL_PATH}/${lib_folder})
target_include_directories(${lib_target_name} PUBLIC $<BUILD_INTERFACE:${lib_parent_folder}>)
Expand Down

0 comments on commit 1bc452b

Please sign in to comment.