mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-09 19:38:30 +01:00
Altering the exported 'include' directory path so that it is not mistakenly set to a user's project root path. This will allow users who are linking to cimgui from a nested directory to be provided with the correct 'include' paths automatically.
This commit is contained in:
@@ -27,8 +27,8 @@ else (WIN32)
|
||||
target_compile_definitions(cimgui PUBLIC IMGUI_IMPL_API="extern \"C\" ")
|
||||
endif (WIN32)
|
||||
|
||||
target_include_directories(cimgui PUBLIC ${CMAKE_SOURCE_DIR})
|
||||
target_include_directories(cimgui PUBLIC ${CMAKE_SOURCE_DIR}/imgui)
|
||||
target_include_directories(cimgui PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
target_include_directories(cimgui PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/imgui)
|
||||
set_target_properties(cimgui PROPERTIES PREFIX "")
|
||||
|
||||
#install
|
||||
|
Reference in New Issue
Block a user