mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-05 18:24:08 +00:00
[c-host] renamed finall to just plain host
This commit is contained in:
13
host/platform/CMakeLists.txt
Normal file
13
host/platform/CMakeLists.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
project(platform LANGUAGES C)
|
||||
|
||||
if (UNIX)
|
||||
set(PLATFORM "Linux")
|
||||
elseif(WIN32)
|
||||
set(PLATFORM "Windows")
|
||||
endif()
|
||||
|
||||
add_subdirectory(${PLATFORM})
|
||||
|
||||
add_library(platform INTERFACE)
|
||||
target_link_libraries(platform INTERFACE platform_${PLATFORM})
|
Reference in New Issue
Block a user