diff --git a/recipes/qwt/all/test_package/CMakeLists.txt b/recipes/qwt/all/test_package/CMakeLists.txt index 79d3544c480ff..1355e31e87e53 100644 --- a/recipes/qwt/all/test_package/CMakeLists.txt +++ b/recipes/qwt/all/test_package/CMakeLists.txt @@ -5,8 +5,5 @@ include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) conan_basic_setup(TARGETS) add_executable(example example.cpp) -# Must compile with "-fPIC" since Qt was built with -reduce-relocations. -target_compile_options(example PRIVATE -fPIC) target_link_libraries(example CONAN_PKG::qt CONAN_PKG::qwt) set_property(TARGET example PROPERTY CXX_STANDARD 11) -