mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 08:35:08 +08:00
16 lines
694 B
Diff
16 lines
694 B
Diff
|
diff --git a/cmake/LuminoConfig.cmake.in b/cmake/LuminoConfig.cmake.in
|
||
|
index 283ad47..aa9bfd8 100644
|
||
|
--- a/cmake/LuminoConfig.cmake.in
|
||
|
+++ b/cmake/LuminoConfig.cmake.in
|
||
|
@@ -13,5 +13,9 @@ include("${CMAKE_CURRENT_LIST_DIR}/LuminoTargets.cmake")
|
||
|
# Combination target
|
||
|
#-------------------------------------------------------------------------------
|
||
|
add_library(lumino::Lumino INTERFACE IMPORTED)
|
||
|
-target_link_libraries(lumino::Lumino INTERFACE lumino::LuminoEngine lumino::LuminoCore)
|
||
|
+if(LUMINO_BUILD_ENGINE)
|
||
|
+ target_link_libraries(lumino::Lumino INTERFACE lumino::LuminoEngine lumino::LuminoCore)
|
||
|
+else()
|
||
|
+ target_link_libraries(lumino::Lumino INTERFACE lumino::LuminoCore)
|
||
|
+endif()
|
||
|
|