* Simplify these checks now that we have RosBE 2.1.

svn path=/trunk/; revision=60241
This commit is contained in:
Amine Khaldi 2013-09-20 10:26:05 +00:00
parent c6121ed1c9
commit 67e54eab08
3 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ function(add_hal _halname)
spec2def(${_halname}.dll ../hal.spec ADD_IMPORTLIB)
# Create the actual target
if(NOT MSVC AND (CMAKE_VERSION VERSION_GREATER 2.8.7))
if(NOT MSVC)
foreach(_component ${_haldata_COMPONENTS})
list(APPEND _haldata_SOURCES "$<TARGET_OBJECTS:lib_hal_${_component}>")
endforeach()

View file

@ -9,6 +9,6 @@ add_object_library(lib_hal_acpi ${HAL_ACPI_SOURCE})
add_dependencies(lib_hal_acpi bugcodes)
#add_pch(lib_hal_acpi include/hal.h)
if(MSVC OR (NOT CMAKE_VERSION VERSION_GREATER 2.8.7))
if(MSVC)
target_link_libraries(lib_hal_acpi lib_hal_generic)
endif()

View file

@ -15,6 +15,6 @@ add_object_library(lib_hal_legacy ${HAL_LEGACY_SOURCE})
add_dependencies(lib_hal_legacy bugcodes)
#add_pch(lib_hal_legacy include/hal.h)
if(MSVC OR (NOT CMAKE_VERSION VERSION_GREATER 2.8.7))
if(MSVC)
target_link_libraries(lib_hal_legacy lib_hal_generic)
endif()