do not use fPIE by default with cmake
It broke the compilation with qt5.12 (with conan)
@@ -84,10 +84,6 @@ function(qi_create_bin name)
add_executable("${name}" ${_SRC})
- if(UNIX AND NOT APPLE)
- set_target_properties("${name}" PROPERTIES COMPILE_FLAGS "-fPIE")
- endif()
-
if (NOT "${ARG_DEPENDS}" STREQUAL "")
qi_use_lib("${name}" ${ARG_DEPENDS})
endif()
