Browse Source

fixed libjsqrc cmake

cl-refactor
Marek Kotewicz 10 years ago
parent
commit
0d353deed9
  1. 3
      libjsqrc/CMakeLists.txt

3
libjsqrc/CMakeLists.txt

@ -18,10 +18,7 @@ find_package(Qt5Core)
set(CMAKE_AUTOMOC OFF) set(CMAKE_AUTOMOC OFF)
qt5_add_resources(JSQRC js.qrc) qt5_add_resources(JSQRC js.qrc)
add_custom_target(jstargetqrc DEPENDS {JSQRC})
add_library(jsqrc STATIC ${JSQRC}) add_library(jsqrc STATIC ${JSQRC})
add_dependencies(jsqrc jstargetqrc)
qt5_use_modules(jsqrc Core) qt5_use_modules(jsqrc Core)
install( TARGETS jsqrc ARCHIVE DESTINATION lib LIBRARY DESTINATION lib ) install( TARGETS jsqrc ARCHIVE DESTINATION lib LIBRARY DESTINATION lib )

Loading…
Cancel
Save