|
@@ -171,10 +171,6 @@ if(NO_FONT_INTERFACE_DEFAULT)
|
|
|
add_definitions(-DRMLUI_NO_FONT_INTERFACE_DEFAULT)
|
|
add_definitions(-DRMLUI_NO_FONT_INTERFACE_DEFAULT)
|
|
|
endif()
|
|
endif()
|
|
|
|
|
|
|
|
-if (WIN32)
|
|
|
|
|
- add_definitions(-DWIN32)
|
|
|
|
|
-endif(WIN32)
|
|
|
|
|
-
|
|
|
|
|
if(NOT BUILD_SHARED_LIBS)
|
|
if(NOT BUILD_SHARED_LIBS)
|
|
|
add_definitions(-DRMLUI_STATIC_LIB)
|
|
add_definitions(-DRMLUI_STATIC_LIB)
|
|
|
message("-- Building static libraries. Make sure to #define RMLUI_STATIC_LIB before including RmlUi in your project.")
|
|
message("-- Building static libraries. Make sure to #define RMLUI_STATIC_LIB before including RmlUi in your project.")
|
|
@@ -451,10 +447,6 @@ macro(bl_sample NAME)
|
|
|
endif()
|
|
endif()
|
|
|
|
|
|
|
|
target_link_libraries(${NAME} ${ARGN})
|
|
target_link_libraries(${NAME} ${ARGN})
|
|
|
-
|
|
|
|
|
- if (WIN32)
|
|
|
|
|
- target_link_libraries(${NAME} shlwapi)
|
|
|
|
|
- endif()
|
|
|
|
|
endmacro()
|
|
endmacro()
|
|
|
|
|
|
|
|
if(BUILD_SAMPLES)
|
|
if(BUILD_SAMPLES)
|
|
@@ -522,6 +514,10 @@ endif(NOT BUILD_FRAMEWORK)
|
|
|
target_precompile_headers(shell PRIVATE ${PROJECT_SOURCE_DIR}/Samples/shell/src/precompiled.h)
|
|
target_precompile_headers(shell PRIVATE ${PROJECT_SOURCE_DIR}/Samples/shell/src/precompiled.h)
|
|
|
endif()
|
|
endif()
|
|
|
|
|
|
|
|
|
|
+ if (WIN32)
|
|
|
|
|
+ target_link_libraries(shell PUBLIC shlwapi)
|
|
|
|
|
+ endif()
|
|
|
|
|
+
|
|
|
# Build and install the basic samples
|
|
# Build and install the basic samples
|
|
|
foreach(sample ${samples})
|
|
foreach(sample ${samples})
|
|
|
bl_sample(${sample} ${sample_LIBRARIES})
|
|
bl_sample(${sample} ${sample_LIBRARIES})
|