Merge pull request #4831 from Orphis/cmake_cleanup

Small CMake fixes
This commit is contained in:
Mat M
2017-02-06 11:29:05 -05:00
committed by GitHub
3 changed files with 14 additions and 14 deletions
-4
View File
@@ -241,10 +241,6 @@ else()
if(NO_PIE_UPSTREAM)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -no-pie")
endif()
check_c_compiler_flag("-nopie" NO_PIE_PATCHED)
if(NO_PIE_PATCHED)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -nopie")
endif()
endif()
endif()