Skip to content

Commit

Permalink
Build portable version only on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
variar committed May 19, 2021
1 parent 6054d5f commit 7fddde5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ endif()
add_executable(klogg ${OS_BUNDLE} ${MAIN_SOURCES})
add_executable(klogg_portable ${OS_BUNDLE} ${MAIN_SOURCES})

add_dependencies(ci_build klogg klogg_portable)
add_dependencies(ci_build klogg)
if (WIN32)
add_dependencies(ci_build klogg_portable)
endif()

set_target_properties(klogg PROPERTIES AUTORCC ON)
set_target_properties(klogg PROPERTIES AUTOMOC ON)
Expand Down

0 comments on commit 7fddde5

Please sign in to comment.