|
@ -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 ) |
|
|