diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-24 09:38:51 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-24 09:38:51 -0800 |
commit | 2c77aa55194053eced380310629a5cb9fcefb2c8 (patch) | |
tree | 6c577c404d3425c76389cffd04a065a9ddf4714d /CMakeLists.txt | |
parent | d8e38764fd24bd0bce965a7404a92227d98bbf36 (diff) | |
download | subsurface-2c77aa55194053eced380310629a5cb9fcefb2c8.tar.gz |
Cmake: fix building of Subsurface-mobile on Mac
The error message was completely useless, but it turned out to be an issue of
the order of arguments to add_executable().
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ee3eb829..6f672fcb9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -365,7 +365,7 @@ if(SUBSURFACE_MOBILE) if(ANDROID) add_library(subsurface-mobile SHARED ${MOBILE_SRC} ${SUBSURFACE_PKG} ${SUBSURFACE_RESOURCES} ${MOBILE_RESOURCES}) else() - add_executable(subsurface-mobile ${MOBILE_SRC} ${SUBSURFACE_PKG} ${SUBSURFACE_RESOURCES} ${MOBILE_RESOURCES}) + add_executable(subsurface-mobile ${SUBSURFACE_PKG} ${MOBILE_SRC} ${SUBSURFACE_RESOURCES} ${MOBILE_RESOURCES}) endif() target_link_libraries( ${SUBSURFACE_TARGET} |