Changeset View
Changeset View
Standalone View
Standalone View
kde-modules/KDECMakeSettings.cmake
Show First 20 Lines • Show All 243 Lines • ▼ Show 20 Line(s) | 200 | if(NOT KDE_SKIP_BUILD_SETTINGS) | |||
---|---|---|---|---|---|
244 | unset(CMAKE_RUNTIME_OUTPUT_DIRECTORY) | 244 | unset(CMAKE_RUNTIME_OUTPUT_DIRECTORY) | ||
245 | 245 | | |||
246 | # under Windows, output all executables and dlls into | 246 | # under Windows, output all executables and dlls into | ||
247 | # one common directory, and all static|import libraries and plugins | 247 | # one common directory, and all static|import libraries and plugins | ||
248 | # into another one. This way test executables can find their dlls | 248 | # into another one. This way test executables can find their dlls | ||
249 | # even without installation. | 249 | # even without installation. | ||
250 | 250 | | |||
251 | # We do the same under Unix to make it possible to run tests and apps without installing | 251 | # We do the same under Unix to make it possible to run tests and apps without installing | ||
252 | if (WIN32 OR NOT ("${ECM_GLOBAL_FIND_VERSION}" VERSION_LESS "5.38.0")) | 252 | if (NOT (CMAKE_SYSTEM_NAME STREQUAL "Android") AND (WIN32 OR NOT ("${ECM_GLOBAL_FIND_VERSION}" VERSION_LESS "5.38.0"))) | ||
253 | set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib") | 253 | set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib") | ||
254 | set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin") | 254 | set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin") | ||
255 | set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin") | 255 | set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin") | ||
256 | endif() | 256 | endif() | ||
257 | 257 | | |||
258 | if (APPLE) | 258 | if (APPLE) | ||
259 | # Disable detection of X11 and related package on OS X because when using | 259 | # Disable detection of X11 and related package on OS X because when using | ||
260 | # brew or macports, X11 can be installed and thus is detected. | 260 | # brew or macports, X11 can be installed and thus is detected. | ||
▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines |