This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.1) | |
project(nbody) | |
# Add module path in case this is project root | |
if(PROJECT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) | |
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/../../modules/" ${CMAKE_MODULE_PATH}) | |
endif() | |
find_package(Magnum REQUIRED |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.1) | |
project(pong) | |
# Add module path in case this is project root | |
if(PROJECT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) | |
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/../../modules/" ${CMAKE_MODULE_PATH}) | |
endif() | |
find_package(Magnum REQUIRED |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.1) | |
project(ECSY1) | |
# Add module path in case this is project root | |
if(PROJECT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) | |
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/../../modules/" ${CMAKE_MODULE_PATH}) | |
endif() | |
find_package(Magnum REQUIRED |