removing somethings from CMAKE
This commit is contained in:
@@ -20,21 +20,6 @@ FetchContent_Declare(SFML
|
|||||||
SYSTEM)
|
SYSTEM)
|
||||||
FetchContent_MakeAvailable(SFML)
|
FetchContent_MakeAvailable(SFML)
|
||||||
|
|
||||||
if(APPLE)
|
|
||||||
message(STATUS "Detected macOS: installing range-v3")
|
|
||||||
|
|
||||||
include(FetchContent)
|
|
||||||
FetchContent_Declare(
|
|
||||||
range-v3
|
|
||||||
GIT_REPOSITORY https://github.com/ericniebler/range-v3.git
|
|
||||||
GIT_TAG 0.12.0
|
|
||||||
GIT_SHALLOW ON
|
|
||||||
)
|
|
||||||
FetchContent_MakeAvailable(range-v3)
|
|
||||||
|
|
||||||
include_directories(${range-v3_SOURCE_DIR}/include)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
add_executable(pong ${SOURCES})
|
add_executable(pong ${SOURCES})
|
||||||
target_link_libraries(pong
|
target_link_libraries(pong
|
||||||
PRIVATE
|
PRIVATE
|
||||||
|
|||||||
Reference in New Issue
Block a user