Small CMake fixes.

This commit is contained in:
f3nix 2008-02-27 20:47:03 +00:00
parent 803ebdf3c4
commit e92706bc3c
3 changed files with 5 additions and 5 deletions

View File

@ -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)

View File

@ -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

View File

@ -1,3 +1,3 @@
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)