mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-31 05:03:22 +08:00
d5bc0e71e0
* [luminoengine] Fix cannot find luminoengine library * update version * update version database * fix review * update version * rename patch * update version * fix ci error * update version * fix ci error * update version
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()
|
|
|