Minor change in cmake files
parent
b27e051e7b
commit
39b391c6bc
|
@ -64,7 +64,7 @@ if(TGUI_USE_CPP17)
|
|||
message(WARNING "The library is being build with c++17 features. Keep in mind that you MUST define TGUI_USE_CPP17 in the project using the library as well.")
|
||||
endif()
|
||||
|
||||
# Define an option for choosing between static and dynamic C runtime (VC++ only)
|
||||
# Define an option for choosing between static and dynamic C runtime
|
||||
if(TGUI_OS_WINDOWS)
|
||||
tgui_set_option(TGUI_USE_STATIC_STD_LIBS FALSE BOOL "TRUE to statically link to the standard libraries, FALSE to use them as DLLs. This option has to match with the one from sfml.")
|
||||
|
||||
|
|
|
@ -181,7 +181,7 @@ if(TGUI_OS_IOS)
|
|||
endif()
|
||||
|
||||
# Hide public symbols by default (exported ones are explicitly marked)
|
||||
if(TGUI_COMPILER_GCC OR TGUI_COMPILER_CLANG)
|
||||
if(NOT SFML_OS_WINDOWS)
|
||||
target_compile_options(tgui PRIVATE -fvisibility=hidden)
|
||||
endif()
|
||||
|
||||
|
|
|
@ -112,10 +112,10 @@ install(TARGETS tests
|
|||
RUNTIME DESTINATION ${TGUI_MISC_INSTALL_PREFIX}/tests/ COMPONENT tests
|
||||
BUNDLE DESTINATION ${TGUI_MISC_INSTALL_PREFIX}/tests/ COMPONENT tests)
|
||||
|
||||
# Install the tests
|
||||
install(DIRECTORY "${CMAKE_SOURCE_DIR}/tests/resources"
|
||||
# Install the resources next to the test executable
|
||||
install(DIRECTORY "${PROJECT_SOURCE_DIR}/tests/resources"
|
||||
DESTINATION "${TGUI_MISC_INSTALL_PREFIX}/tests"
|
||||
COMPONENT tests)
|
||||
install(DIRECTORY "${CMAKE_SOURCE_DIR}/themes/"
|
||||
install(DIRECTORY "${PROJECT_SOURCE_DIR}/themes/"
|
||||
DESTINATION "${TGUI_MISC_INSTALL_PREFIX}/tests/resources"
|
||||
COMPONENT tests)
|
||||
|
|
Loading…
Reference in New Issue