[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[certi-cvs] applications/PyHLA CMakeLists.txt
From: |
certi-cvs |
Subject: |
[certi-cvs] applications/PyHLA CMakeLists.txt |
Date: |
Mon, 27 Oct 2008 22:22:47 +0000 |
CVSROOT: /sources/certi
Module name: applications
Changes by: Petr Gotthard <gotthardp> 08/10/27 22:22:47
Modified files:
PyHLA : CMakeLists.txt
Log message:
Don't use backslash-ed paths on Win32 platforms. It's incompatible with
CMake.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/applications/PyHLA/CMakeLists.txt?cvsroot=certi&r1=1.3&r2=1.4
Patches:
Index: CMakeLists.txt
===================================================================
RCS file: /sources/certi/applications/PyHLA/CMakeLists.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- CMakeLists.txt 3 Oct 2008 15:02:22 -0000 1.3
+++ CMakeLists.txt 27 Oct 2008 22:22:47 -0000 1.4
@@ -9,7 +9,7 @@
FIND_PACKAGE(PythonLibs REQUIRED)
FIND_PACKAGE(PythonInterp REQUIRED)
EXEC_PROGRAM("${PYTHON_EXECUTABLE}"
- ARGS "-c \"from distutils.sysconfig import get_python_lib; print
get_python_lib()\""
+ ARGS "-c 'from distutils.sysconfig import get_python_lib; print
get_python_lib().replace(\"\\\\\",\"/\")'"
OUTPUT_VARIABLE PYTHON_PACKAGES_PATH)
# Use the PYTHON_PACKAGES_PATH as a default CMAKE_INSTALL_PREFIX
@@ -41,4 +41,4 @@
INCLUDE(CPack)
-# $Id: CMakeLists.txt,v 1.3 2008/10/03 15:02:22 gotthardp Exp $
+# $Id: CMakeLists.txt,v 1.4 2008/10/27 22:22:47 gotthardp Exp $