mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 05:26:58 +00:00
[HAL]
* Simplify these checks now that we have RosBE 2.1. svn path=/trunk/; revision=60241
This commit is contained in:
parent
c6121ed1c9
commit
67e54eab08
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue