Minor change in cmake files

0.8
Bruno Van de Velde 2018-04-15 15:45:52 +02:00
parent b27e051e7b
commit 39b391c6bc
3 changed files with 5 additions and 5 deletions

View File

@ -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.")

View File

@ -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()

View File

@ -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)