diff options
author | Liang Qi <liang.qi@theqtcompany.com> | 2015-05-29 09:59:29 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@theqtcompany.com> | 2015-05-29 09:59:29 +0200 |
commit | a390b74a20602dc716f4375a6c33d5d426eba3e6 (patch) | |
tree | 09d2748e2f420e3f83abb68b625234fcc02d63b6 /doc/src/snippets/cmake/CMakeLists.pro | |
parent | c9c16ae75238401efc25e440184258c784acf904 (diff) | |
parent | 9e6aabfd68771f2fba9288f130dc7db4ace040bf (diff) |
Merge remote-tracking branch 'origin/5.4.2' into 5.45.4
Change-Id: Iecd8ad4a73e8439fb1b372c51c49709f2c513aac
Diffstat (limited to 'doc/src/snippets/cmake/CMakeLists.pro')
-rw-r--r-- | doc/src/snippets/cmake/CMakeLists.pro | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/doc/src/snippets/cmake/CMakeLists.pro b/doc/src/snippets/cmake/CMakeLists.pro index 5600e8703..efdf42266 100644 --- a/doc/src/snippets/cmake/CMakeLists.pro +++ b/doc/src/snippets/cmake/CMakeLists.pro @@ -73,28 +73,8 @@ target_link_libraries(helloworld Qt5::Widgets) #! [4] #! [5] -find_package(Qt5Core) - -add_executable(exe1 ${exe1_SRCS}) -# Set the POSITION_INDEPENDENT_CODE property for the exe1 target... -set_target_properties(exe1 PROPERTIES POSITION_INDEPENDENT_CODE ON) - -# Or set it globally for all targets: -set(CMAKE_POSITION_INDEPENDENT_CODE ON) -add_executable(exe2 ${exe2_SRCS}) - -add_executable(exe3 ${exe3_SRCS}) -#! [5] - -#! [6] -if (Qt5_POSITION_INDEPENDENT_CODE) - set(CMAKE_POSITION_INDEPENDENT_CODE ON) -endif() -#! [6] - -#! [7] foreach(plugin ${Qt5Network_PLUGINS}) get_target_property(_loc ${plugin} LOCATION) message("Plugin ${plugin} is at location ${_loc}") endforeach() -#! [7] +#! [5] |