Skip to content

Commit

Permalink
Add missing variants
Browse files Browse the repository at this point in the history
  • Loading branch information
JordyAaldering authored Feb 11, 2025
1 parent 19b7dfc commit 5aabf7f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ ENDMACRO ()
STRING (REPLACE "/usr/local/" "" _install_mod_dir ${INSTALL_MOD_DIR})
STRING (REPLACE "/usr/local/" "" _install_tree_dir ${INSTALL_TREE_DIR})

# This variable will hold all the Mod/Tree files that this module
# This variable will hold all the Mod/ files that this module
# will deliver and they will become a part of the all-modules target
# which will be the only default target generated by this makefile.
SET (ALL_SAC_MODULES)
Expand Down Expand Up @@ -440,7 +440,7 @@ FUNCTION (MATCH_NAME_IN_LIST list name ret)
ENDFOREACH ()
ENDFUNCTION ()

# For every sac file, compile Tree and Mod files.
# For every sac file, compile and Mod files.
FOREACH (name ${SAC_SRC})
SET (src "${CMAKE_CURRENT_SOURCE_DIR}/${name}")
# sac2c requires computes objectfiles relatively to the working directory
Expand Down Expand Up @@ -515,9 +515,9 @@ FOREACH (name ${XSAC_SRC})
GET_FILENAME_COMPONENT (dir "${CMAKE_CURRENT_BINARY_DIR}/${name}" DIRECTORY)
GET_FILENAME_COMPONENT (dst ${name} NAME_WE)
SET (mod
"${DLL_BUILD_DIR}/${TARGET_ENV}/${SBI}/lib${dst}Mod${MODEXT}")
"${DLL_BUILD_DIR}/${TARGET_ENV}/${SBI}/lib${dst}Mod${VARIANT}${MODEXT}")
SET (tree
"${DLL_BUILD_DIR}/tree/${TARGET_ENV}/${SBI}/lib${dst}Tree${TREE_DLLEXT}")
"${DLL_BUILD_DIR}/tree/${TARGET_ENV}/${SBI}/lib${dst}Tree${VARIANT}${TREE_DLLEXT}")

RESOLVE_SAC_DEPS_AS_TARGETS ("${name}" "<TARGET>-module-<NAME>" target_list objs_list source_list)
MESSAGE (STATUS "Computing dependencies for `${name}'")
Expand Down

0 comments on commit 5aabf7f

Please sign in to comment.