comparison rathaxes_simplify_windows_lkm_cmakelists_txt.patch @ 49:0c55f24c6b3d

Add a series of patch related to the build systme
author Louis Opter <louis@lse.epitech.net>
date Sun, 15 Jan 2012 21:36:15 +0100
parents
children
comparison
equal deleted inserted replaced
48:7b377e31fea3 49:0c55f24c6b3d
1 # HG changeset patch
2 # Parent 820ac8370b7ad9128154dbeb250c37dcec6fc87a
3 rathaxes: simply use IF (WIN32) instead of a MATCHES and remove an unrelated comment in the Windows LKM sample CMakeLists.txt
4
5 diff --git a/rathaxes/samples/windows_minimal_lkm/CMakeLists.txt b/rathaxes/samples/windows_minimal_lkm/CMakeLists.txt
6 --- a/rathaxes/samples/windows_minimal_lkm/CMakeLists.txt
7 +++ b/rathaxes/samples/windows_minimal_lkm/CMakeLists.txt
8 @@ -2,8 +2,6 @@
9 RTI log.rti lkm.rti
10 BLT log.blt lkm.blt)
11
12 -# We can't name lkm since it's already used as the target name to generate the
13 -# source (with ADD_RATHAXES_SOURCES).
14 -IF (${CMAKE_SYSTEM_NAME} MATCHES "Windows")
15 - ADD_RATHAXES_LKM(minimal_lkm minimal_lkm_src)
16 -ENDIF (${CMAKE_SYSTEM_NAME} MATCHES "Windows")
17 +IF (WIN32)
18 + ADD_RATHAXES_LKM(minimal_lkm minimal_lkm_src)
19 +ENDIF (WIN32)