Commit e92706bc authored by f3nix's avatar f3nix

Small CMake fixes.

parent 803ebdf3
......@@ -40,8 +40,8 @@ OPTION(KICAD_MINIZIP "enable/disable building minizip (default ON)" ON)
# Comment this out if you don't want to build with Python support.
# OPTION(KICAD_PYTHON "enable/disable building with Python support (default OFF)")
# Set debugging flags for GCC only.
IF( CMAKE_COMPILER_IS_GCC )
# Set flags for GNU compilers.
IF(CMAKE_COMPILER_IS_GNUCXX)
# Set default flags for Release build.
SET(CMAKE_C_FLAGS_RELEASE "-Wall -O2 -DNDEBUG")
SET(CMAKE_CXX_FLAGS_RELEASE "-Wall -O2 -DNDEBUG")
......@@ -50,7 +50,7 @@ IF( CMAKE_COMPILER_IS_GCC )
# Set default flags for Debug build.
SET(CMAKE_C_FLAGS_DEBUG "-Wall -g3 -ggdb3 -DDEBUG")
SET(CMAKE_CXX_FLAGS_DEBUG "-Wall -g3 -ggdb3 -DDEBUG")
ENDIF( CMAKE_COMPILER_IS_GCC )
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
# Locations for install targets.
IF(UNIX)
......
......@@ -12,7 +12,7 @@ SET(EESCHEMA_SRCS
block_libedit.cpp
busentry.cpp
bus-wire-junction.cpp
class_drawsheet.cpp
class_drawsheet.cpp
class_screen.cpp
class_text-label.cpp
cleanup.cpp
......
INSTALL(DIRECTORY ca cs de es fr hu it ko pl pt ru sl zh_CN
INSTALL(DIRECTORY ca cs de es fr hu it ko pl pt ru sl sv zh_CN
DESTINATION ${KICAD_INTERNAT} COMPONENT resources
PATTERN ".svn" EXCLUDE)
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