Commit f1925912 authored by f3nix's avatar f3nix

CMakeLists.txt formatting.

parent 357bb969
......@@ -38,7 +38,7 @@ if(UNIX)
# When used later, "bin" and others with no leading / is relative to CMAKE_INSTALL_PREFIX.
set(KICAD_PLUGINS lib/kicad/plugins CACHE PATH "Location of KiCad plugins.")
set(KICAD_DATA share/kicad CACHE PATH "Location of KiCad data files.")
SET(KICAD_DOCS share/doc/kicad CACHE PATH "Location of KiCad documentation files.")
set(KICAD_DOCS share/doc/kicad CACHE PATH "Location of KiCad documentation files.")
endif(APPLE)
endif(UNIX)
......@@ -48,7 +48,7 @@ if(WIN32)
# When used later, "winexe" and others with no leading / is relative to CMAKE_INSTALL_PREFIX.
set(KICAD_PLUGINS ${KICAD_BIN}/plugins)
set(KICAD_DATA share CACHE PATH "Location of KiCad data files.")
SET(KICAD_DOCS doc)
set(KICAD_DOCS doc)
endif(WIN32)
set(KICAD_DEMOS ${KICAD_DATA}/demos)
......@@ -108,7 +108,8 @@ add_subdirectory(template)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/install.txt DESTINATION ${KICAD_DOCS} COMPONENT resources)
if(UNIX)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/share/kicad.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications COMPONENT resources)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/bitmaps/kicad.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps COMPONENT resources)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/share/kicad.desktop
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications COMPONENT resources)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/bitmaps/kicad.png
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps COMPONENT resources)
endif(UNIX)
......@@ -4,12 +4,12 @@ if(ZLIB_FOUND)
else(ZLIB_FOUND)
message(STATUS "Check for installed zlib -- not found")
message(STATUS "Use wxWidgets zlib")
# zlib is not installed, and in this case wxWidgets creates its own zlib library
# include files are in ${wxWidgets_ROOT_DIR}/src/zlib
# and the corresponding library is libwxzlib-<version>.a (like libwxzlib-2.8.a)
# and we try to use it
INCLUDE_DIRECTORIES( ${wxWidgets_ROOT_DIR}/src/zlib)
set(ZLIB_LIBRARIES ${wxWidgets_ROOT_DIR}/lib/libwxzlib-2.8.a)
# zlib is not installed, and in this case wxWidgets creates its own zlib library
# include files are in ${wxWidgets_ROOT_DIR}/src/zlib
# and the corresponding library is libwxzlib-<version>.a (like libwxzlib-2.8.a)
# and we try to use it
include_directories(${wxWidgets_ROOT_DIR}/src/zlib)
set(ZLIB_LIBRARIES ${wxWidgets_ROOT_DIR}/lib/libwxzlib-2.8.a)
endif(ZLIB_FOUND)
set(MINIZIP_SRCS
......
......@@ -47,7 +47,7 @@ set(PCBNEW_SRCS
# dialog_drc.cpp
dialog_edit_mod_text.cpp
# dialog_edit_module.cpp
dialog_freeroute_exchange.cpp
dialog_freeroute_exchange.cpp
# dialog_gendrill.cpp
dialog_general_options.cpp
# dialog_graphic_items_options.cpp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment