diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2019-10-18 18:40:29 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2020-01-09 17:39:32 +0300 |
commit | 3d0325b72f6043e57e3414ec46e898061d1a299a (patch) | |
tree | 573bc482d83c3c902a86385e29b064b4e56b2077 /src/cmd | |
parent | 9a11f4e9f1ae9dfe24595b009037b8ace1b19c87 (diff) |
[CMAKE] Use KDECompilerSettings
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/CMakeLists.txt | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cmd/CMakeLists.txt b/src/cmd/CMakeLists.txt index 1db2ca556..7e76ae86f 100644 --- a/src/cmd/CMakeLists.txt +++ b/src/cmd/CMakeLists.txt @@ -1,5 +1,3 @@ -project(cmd) - set(cmd_NAME ${APPLICATION_EXECUTABLE}cmd) set(cmd_SRC cmd.cpp @@ -8,12 +6,6 @@ set(cmd_SRC ) -if(UNIX AND NOT APPLE) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIE") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIE") - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie") -endif() - if(NOT BUILD_LIBRARIES_ONLY) add_executable(${cmd_NAME} ${cmd_SRC}) ecm_mark_nongui_executable(${cmd_NAME}) |