aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorcryptobiote <hakmo.koo@gmail.com>2013-06-25 09:36:11 -0600
committercryptobiote <hakmo.koo@gmail.com>2013-06-25 09:36:11 -0600
commitd9ee5a7f1b740ed04f7301ec83ae8aeb3076fef5 (patch)
treea43a57dab31e5c71eb1f1b3040892814c3aceb79 /CMakeLists.txt
parent19a19d1952b7afbc5d3d58374c900708a09ae039 (diff)
downloadjansson-d9ee5a7f1b740ed04f7301ec83ae8aeb3076fef5.zip
jansson-d9ee5a7f1b740ed04f7301ec83ae8aeb3076fef5.tar.gz
jansson-d9ee5a7f1b740ed04f7301ec83ae8aeb3076fef5.tar.bz2
Update CMakeLists.txt
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bf10214..e4afb2e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -53,11 +53,11 @@ project (jansson C)
# Options
OPTION (BUILD_SHARED_LIBS "Build shared libraries." OFF)
-IF(MSVC)
+if (MSVC)
# This option must match the settings used in your program, in particular if you
# are linking statically
OPTION( STATIC_CRT "Link the static CRT libraries" OFF )
-ENDIF()
+endif ()
# Set some nicer output dirs.
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin)
@@ -67,10 +67,10 @@ SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)
# Give the debug version a different postfix for windows,
# so both the debug and release version can be built in the
# same build-tree on Windows (MSVC).
-IF (WIN32)
+if (WIN32)
SET (CMAKE_DEBUG_POSTFIX "_d")
-ELSE (WIN32)
-ENDIF (WIN32)
+else (WIN32)
+endif (WIN32)
# This is how I thought it should go
# set (JANSSON_VERSION "2.3.1")