Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix broken Linux and Windows builds
[xestiaab/.git]
/
source
/
CMakeFunctions
/
Application.cmake
diff --git
a/source/CMakeFunctions/Application.cmake
b/source/CMakeFunctions/Application.cmake
index
d3b44f7
..
aa8393d
100644
(file)
--- a/
source/CMakeFunctions/Application.cmake
+++ b/
source/CMakeFunctions/Application.cmake
@@
-62,12
+62,12
@@
if (MSVC)
security
cryptui
crypt32)
security
cryptui
crypt32)
-endif()
-
-if (MSVC)
list(APPEND FILE_LIST os/msw/xestiaab.rc)
list(APPEND FILE_LIST os/msw/xestiaab.rc)
+
add_executable(xestiaab WIN32
add_executable(xestiaab WIN32
- ${FILE_LIST})
+ ${FILE_LIST})
+ target_link_libraries(xestiaab LINK_PUBLIC
+ ${LIBRARIES})
elseif(APPLE)
# Main icons
set_source_files_properties(os/osx/XestiaAddressBook.icns PROPERTIES MACOSX_PACKAGE_LOCATION "Resources")
elseif(APPLE)
# Main icons
set_source_files_properties(os/osx/XestiaAddressBook.icns PROPERTIES MACOSX_PACKAGE_LOCATION "Resources")
@@
-116,6
+116,9
@@
elseif(APPLE)
else()
add_executable(xestiaab
${FILE_LIST})
else()
add_executable(xestiaab
${FILE_LIST})
+
+ target_link_libraries(xestiaab LINK_PUBLIC
+ ${LIBRARIES})
endif()
endif()
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy