diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-06-06 21:50:38 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-06-07 23:32:32 +0200 |
| commit | 787402efcf27eb3f23ddd537a689ae2d289ff97f (patch) | |
| tree | 2c6137b16c41f8cc1e5d86768224a19cdd34a998 /cmake/ps1.cmake | |
| parent | 9073d82ea66ee5c07c4603a62f9bb07b3eb5c3ce (diff) | |
| download | rts-787402efcf27eb3f23ddd537a689ae2d289ff97f.tar.gz | |
CMakeLists.txt: move target-specific logic away
Diffstat (limited to 'cmake/ps1.cmake')
| -rw-r--r-- | cmake/ps1.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/ps1.cmake b/cmake/ps1.cmake index e9ae0f6..6481eaa 100644 --- a/cmake/ps1.cmake +++ b/cmake/ps1.cmake @@ -1,3 +1,7 @@ +if("$ENV{PSXSDK_PATH}" STREQUAL "") + message(FATAL_ERROR "Please set PSXSDK_PATH env variable first") +endif() + file(MAKE_DIRECTORY ${cdroot}) target_link_directories(${PROJECT_NAME} PUBLIC $ENV{PSXSDK_PATH}/lib) target_link_libraries(${PROJECT_NAME} PUBLIC -lpsx -lfixmath) |
