Skip to content
Snippets Groups Projects
Commit 912a50d6 authored by ariotte's avatar ariotte
Browse files

creation of test library only on windows

parent 4a5e4fb3
No related branches found
No related tags found
No related merge requests found
......@@ -219,6 +219,7 @@ target_link_libraries(imageinsa
Qt5::Xml
${RandomLib_LIBRARIES}
)
if(UNIX)
add_library(libimageinsa STATIC ${EXTRA_FLAGS} ${imageinsa_SOURCES} ${WRAPPED_UIS} ${UIS} ${QM_FILES} ${TS_FILES} ${RCC_FILES})
target_link_libraries(libimageinsa
core
......@@ -229,6 +230,7 @@ target_link_libraries(imageinsa
Qt5::Xml
${RandomLib_LIBRARIES}
)
endif()
add_custom_command(TARGET imageinsa POST_BUILD
COMMAND ${CMAKE_COMMAND} -E make_directory ${DEPLOY_OUTPUT_DIRECTORY}/lang
COMMENT "Create directory ${DEPLOY_OUTPUT_DIRECTORY}/lang")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment