fixing spelling

This commit is contained in:
Alister
2021-11-11 19:48:45 +00:00
parent c36e341a3e
commit b9202a6735
3 changed files with 5 additions and 17 deletions

View File

@@ -97,7 +97,7 @@ if(VALIDATE_OPENGL_PROGRAMS)
endif()
endif()
includePlattform("prefind")
includePlatform("prefind")
FIND_PACKAGE( OpenGL REQUIRED )
FIND_PACKAGE( Boost 1.60 COMPONENTS thread filesystem system unit_test_framework REQUIRED )
@@ -169,7 +169,7 @@ IF(NOT NOGGIT_OPENGL_ERROR_CHECK )
ADD_DEFINITIONS( -DNOGGIT_DO_NOT_CHECK_FOR_OPENGL_ERRORS )
ENDIF()
includePlattform("postfind")
includePlatform("postfind")
include_directories ("${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/tmp")
include_directories(PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
@@ -381,7 +381,7 @@ if (NOGGIT_LOGTOCONSOLE AND WIN32)
set_property (TARGET noggit APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Debug>:"_CONSOLE">)
endif()
includePlattform("pack")
includePlatform("pack")
add_library (noggit-math STATIC
"src/math/matrix_4x4.cpp"

View File

@@ -1,15 +1,3 @@
macro (add_compiler_flag_if_supported _VAR _FLAG)
string (MAKE_C_IDENTIFIER "CXX_COMPILER_SUPPORTS_${_FLAG}" _test_variable)
check_cxx_compiler_flag ("${_FLAG}" ${_test_variable})
if (${_test_variable})
if ("${${_VAR}}" STREQUAL "")
set (${_VAR} "${_FLAG}")
else()
set (${_VAR} "${${_VAR}} ${_FLAG}")
endif()
endif()
endmacro()
function(
collect_files
output

View File

@@ -12,7 +12,7 @@ macro (add_compiler_flag_if_supported _VAR _FLAG)
endmacro()
#Platform include
macro(includePlattform SUFFIX)
macro(includePlatform SUFFIX)
if(UNIX)
if(APPLE)
include("${CMAKE_SOURCE_DIR}/cmake/apple_${SUFFIX}.cmake")
@@ -32,4 +32,4 @@ macro(includePlattform SUFFIX)
set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} "${CMAKE_SOURCE_DIR}/../Noggit3libs/Boost/")
endif(WIN32)
endif(UNIX)
endmacro(includePlattform)
endmacro(includePlatform)