diff --git a/libjsqrc/CMakeLists.txt b/libjsqrc/CMakeLists.txt index 9044329bd..9c505df2b 100644 --- a/libjsqrc/CMakeLists.txt +++ b/libjsqrc/CMakeLists.txt @@ -18,10 +18,7 @@ find_package(Qt5Core) set(CMAKE_AUTOMOC OFF) qt5_add_resources(JSQRC js.qrc) -add_custom_target(jstargetqrc DEPENDS {JSQRC}) - add_library(jsqrc STATIC ${JSQRC}) -add_dependencies(jsqrc jstargetqrc) qt5_use_modules(jsqrc Core) install( TARGETS jsqrc ARCHIVE DESTINATION lib LIBRARY DESTINATION lib )