Permalink
Browse files

CMakeLists.txt: Fix cmake warning

IF(...) statements must end with equivalent ENDIF(...) statements.

Signed-off-by: David Aguilar <davvid@gmail.com>
  • Loading branch information...
davvid committed Mar 21, 2012
1 parent 077f2f6 commit bc601409a395c2e86f42c63781d888e8139249c0
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
View
@@ -90,7 +90,7 @@ IF (NOT DEFINED CMAKE_INSTALL_PREFIX)
EXECUTE_PROCESS(COMMAND sh -c "echo `uname`-`uname -r | cut -d'-' -f1`-`uname -m`" OUTPUT_VARIABLE VARIANT_DIRECTORY OUTPUT_STRIP_TRAILING_WHITESPACE)
#EXECUTE_PROCESS(COMMAND uname OUTPUT_VARIABLE VARIANT_DIRECTORY OUTPUT_STRIP_TRAILING_WHITESPACE)
SET(CMAKE_INSTALL_PREFIX "${CMAKE_SOURCE_DIR}/${VARIANT_DIRECTORY}-${FLAVORDIR}")
-ENDIF(CMAKE_INSTALL_PREFIX)
+ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
## Make modules able to see partio library
# Setup environment variable to link partio

0 comments on commit bc60140

Please sign in to comment.