Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor rewrites to CMakeLists.txt file #5

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion source/compiler/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ set(REQUIRED_INCLUDE_FILES
strlcat
)
foreach(FUNCTION_NAME ${REQUIRED_FUNCTIONS})
set(DEFINITION_NAME "HAVE_${FUNCTION_NAME}")
set(DEFINITION_NAME "HAVE_${FUNCTION_NAME}")
Zorono marked this conversation as resolved.
Show resolved Hide resolved
check_function_exists(${FUNCTION_NAME} ${DEFINITION_NAME})
if(${DEFINITION_NAME})
add_definitions(-D${DEFINITION_NAME})
Expand Down