Commit a7d68dd5 authored by dickelbeck's avatar dickelbeck

added boost checking

parent 323b5b75
......@@ -63,7 +63,7 @@ IF(wxWidgets_FOUND)
MESSAGE(STATUS "Check for installed wxWidgets -- found")
# Include wxWidgets macros.
INCLUDE(${wxWidgets_USE_FILE})
INCLUDE(${wxWidgets_USE_FILE})
# We define the include paths here.
# Include dirs for wxWidgets was defined before.
......@@ -71,7 +71,7 @@ IF(wxWidgets_FOUND)
${CMAKE_CURRENT_SOURCE_DIR}/include
${CMAKE_CURRENT_SOURCE_DIR}/share)
# CMake will look at this dirs for nested 'CMakeLists.txt' files
# CMake will look in these dirs for nested 'CMakeLists.txt' files
ADD_SUBDIRECTORY(common)
ADD_SUBDIRECTORY(3d-viewer)
ADD_SUBDIRECTORY(cvpcb)
......@@ -82,7 +82,7 @@ IF(wxWidgets_FOUND)
ELSE(wxWidgets_FOUND)
# For convenience. When we cannot continue, inform the user.
MESSAGE(STATUS "Check for installed wxWidgets -- not found")
MESSAGE(FATAL_ERROR "wxWidgets was not found - it is required to build KiCad")
MESSAGE(FATAL_ERROR "wxWidgets was not found - it is required to build KiCad")
ENDIF(wxWidgets_FOUND)
# CMake will look at this dirs for nested 'CMakeLists.txt' files
......
ADD_DEFINITIONS(-DPCBNEW)
FIND_PACKAGE(Boost)
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_SOURCE_DIR}
${Boost_INCLUDE_DIRS}
bitmaps
../3d-viewer
../polygon
......@@ -116,7 +122,7 @@ SET(PCBNEW_SRCS
set_color.cpp
set_grid.cpp
solve.cpp
# specctra.cpp
# specctra.cpp
surbrill.cpp
swap_layers.cpp
tool_modedit.cpp
......@@ -159,6 +165,10 @@ SET_SOURCE_FILES_PROPERTIES( dsn.cpp PROPERTIES COMPILE_FLAGS -DSTANDALONE )
ADD_EXECUTABLE( dsntest EXCLUDE_FROM_ALL dsn.cpp )
TARGET_LINK_LIBRARIES( dsntest common ${wxWidgets_LIBRARIES} )
SET_SOURCE_FILES_PROPERTIES( specctra.cpp PROPERTIES COMPILE_FLAGS -DSTANDALONE )
ADD_EXECUTABLE( specctra_test EXCLUDE_FROM_ALL specctra.cpp )
TARGET_LINK_LIBRARIES( specctra_test common ${wxWidgets_LIBRARIES} )
TARGET_LINK_LIBRARIES(pcbnew common 3d-viewer ${wxWidgets_LIBRARIES})
......
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