security
cryptui
crypt32)
-endif()
-
-if (MSVC)
list(APPEND FILE_LIST os/msw/xestiaab.rc)
+
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")
else()
add_executable(xestiaab
${FILE_LIST})
+
+ target_link_libraries(xestiaab LINK_PUBLIC
+ ${LIBRARIES})
endif()
bitmapcode.cpp)
if (MSVC)
-add_custom_command(
- TARGET bitmapcode
- POST_BUILD
- COMMAND $(OutDir)/bitmapcode ${CMAKE_SOURCE_DIR}/bitmaps)
+ add_custom_command(
+ TARGET bitmapcode
+ POST_BUILD
+ COMMAND $(OutDir)/bitmapcode ${CMAKE_SOURCE_DIR}/bitmaps)
+endif()
+
+if (APPLE)
+ target_link_libraries(bitmapcode
+ LINK_PUBLIC
+ c++
+ ${wxWidgets_LIBRARIES})
+else()
+ target_link_libraries(bitmapcode
+ LINK_PUBLIC
+ ${wxWidgets_LIBRARIES})
endif()
-
-target_link_libraries(bitmapcode
- LINK_PUBLIC
- c++
- ${wxWidgets_LIBRARIES})
set (sources
odthelpbrowser/base64.cpp