mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 20:23:41 +08:00
b2f7823dd2
* [glui] Add new port * [freeglut] Fix static linking * [glui] Fix description * [glui] Update
10 lines
440 B
CMake
10 lines
440 B
CMake
_find_package(${ARGS})
|
|
|
|
if(TARGET glui::glui AND NOT TARGET glui::glui_static)
|
|
add_library(glui::glui_static INTERFACE IMPORTED)
|
|
set_target_properties(glui::glui_static PROPERTIES INTERFACE_LINK_LIBRARIES glui::glui)
|
|
elseif(TARGET glui::glui_static AND NOT TARGET glui::glui)
|
|
add_library(glui::glui INTERFACE IMPORTED)
|
|
set_target_properties(glui::glui PROPERTIES INTERFACE_LINK_LIBRARIES glui::glui_static)
|
|
endif()
|