Skip to content

Commit

Permalink
Update recipes/qwt/all/test_package/CMakeLists.txt
Browse files Browse the repository at this point in the history
Co-authored-by: ericLemanissier <[email protected]>
  • Loading branch information
boussaffawalid and ericLemanissier authored May 24, 2021
1 parent 3f4a501 commit 7aa4fc3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions recipes/qwt/all/test_package/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 7aa4fc3

Please sign in to comment.