Skip to content

Commit

Permalink
Updated build script
Browse files Browse the repository at this point in the history
  • Loading branch information
vaiorabbit committed Jan 12, 2024
1 parent 93273fe commit 98c1dfd
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions imnodes_dll/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ if (APPLE)
target_link_libraries(ImNodes imgui)
elseif(UNIX)
target_link_directories(ImNodes PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../imgui_dll/build)
if (DEFINED CROSS_BUILD_PLATFORM)
target_link_libraries(ImNodes imgui.${CROSS_BUILD_PLATFORM})
else()
target_link_libraries(ImNodes imgui.${CMAKE_HOST_SYSTEM_PROCESSOR})
endif()
target_link_libraries(ImNodes imgui)
# if (DEFINED CROSS_BUILD_PLATFORM)
# target_link_libraries(ImNodes imgui.${CROSS_BUILD_PLATFORM})
# else()
# target_link_libraries(ImNodes imgui)
# endif()
else()
# add_library(imgui SHARED IMPORTED)
# set_target_properties(imgui PROPERTIES IMPORTED_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/../imgui_dll/build)
Expand Down

0 comments on commit 98c1dfd

Please sign in to comment.